[preload] Opt-in to single-page test feature (#19913) testharness.js was recently extended with an API to explicitly opt-in to the "single page test" feature [1]. As per WPT RFC 28 [2], tests which do not use this API and which do not declare any subtests will soon be reported as a harness error. Update the tests which previously opted in implicitly to use the new API. [1] https://github.com/web-platform-tests/wpt/pull/19449 [2] https://github.com/web-platform-tests/rfcs/blob/master/rfcs/single_test.md
diff --git a/preload/link-header-preload-imagesrcset.html b/preload/link-header-preload-imagesrcset.html index 3ae53fe..65c8c06 100644 --- a/preload/link-header-preload-imagesrcset.html +++ b/preload/link-header-preload-imagesrcset.html 
@@ -6,7 +6,7 @@  <script src="/preload/resources/preload_helper.js"></script>  <body>  <script> - setup({explicit_done: true}); + setup({single_test: true});    var iterations = 0;  var expectation = new Array(10).fill(0);